<template>
  <div class="article">
    <div class="top">
      <div>
        <router-link to="/home/article/recommend">推荐</router-link>
        |
        <router-link to="/home/article/new">最新</router-link>
      </div>

      <img class="logo" src="../assets/logo.dbd40807.png" alt="" />
    </div>

    <router-view></router-view>
  </div>
</template>

<script>
export default {
  name: "HmArticle",
};
</script>

<style lang="less">
.top {
  width: 100%;
  display: flex;
  //两端对齐
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  .logo {
    width: 64px;
    height: 30px;
    margin-right: 10px;
  }
}
</style>
